home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1995 January / macformat-020.iso / Shareware City / Developers / Commander Sets / 4D Speech Pack / 4D Speech Pack.rsrc / TEXT_7905_†SP VOICE ARRAY.txt < prev    next >
Encoding:
Text File  |  1994-09-14  |  666 b   |  21 lines

  1. SP VOICES ARRAY (arrayname)
  2.  
  3. arrayname  string (255) the name of the text array you want to hold
  4.                                       the voicenames. See the example below for
  5.                                       proper use.
  6.  
  7. Returns the names of all installed voices in a text array.
  8.  
  9. The array is unsorted, it is only filled for you in the sequence the voices were found in the different files stored in the System Folder.
  10.  
  11. Example:
  12.   `make sure the array is empty:
  13.   ARRAY TEXT (SpeechArray;0)
  14.   SP VOICES ARRAY ("SpeechArray")
  15.   `it's a string, not the array itself!
  16.  
  17.   `and to use it as a pop-up menu for the user to select from:
  18.   SORT ARRAY (SpeechArray)
  19.  
  20.  
  21.